#!/bin/bash

# cd to file containing script or something?
BASEDIR=$(dirname "$0")
echo "$BASEDIR"
cd "$BASEDIR"

if [[ -z ${SS14_LOG_CLIENT} ]]; then
    # No log path
    exec ../Resources/bin/SS14.Loader "$@"
else
    exec ../Resources/bin/SS14.Loader "$@" > "$SS14_LOG_CLIENT" 2>&1
fi

